package com.bruce.principle.segregation;

import lombok.extern.slf4j.Slf4j;

/**
 * Created by bruce on 2018/10/23 22:11
 */
@Slf4j
public class Bird implements IAnimalAction {
    @Override
    public void eat() {
        log.info("鸟会吃");
    }

    @Override
    public void fly() {
        log.info("鸟会飞");
    }

    @Override
    public void swim() {
        log.error("鸟不会游泳");
    }
}
